package com.example.appointment.util;

import android.os.Environment;

public class CmnObjectDefines {

	public static final String GroupUserInfo = "GroupUserInfo";
	public static final int Handler_Delayed = 0x00;
	public static final int ShowIcon = 0x000111;
	public static final int Hint_Icon = 0x000222;
	   public static final int Handler_DialogRedPaper=0x13;
	public static final int Handler_HttpRequestSuccess = 0x1001;
	public static final int Handler_HttpRequestFailure = 0x1002;
	public static final int Handler_HttpDownLoadSuccess = 0x1003;
	public static final int Handler_HttpDownLoadFailure = 0x1004;
	public static final int Handler_HttpICONDownLoadSuccess = 0x1005;

	public static final int Handler_ListItemClicked = 0x01;
	public static final int Handler_ListItemEditClicked = 0x02;
	public static final int Handler_ListItemDeleteClicked = 0x03;

	public static final int Handler_DialogOkButtonClicked = 0x11;
	public static final int Handler_DialogCancleButtonClicked = 0x12;

	public static final String DataStoreId_Key = "DataStoreId_Key";
	public static final String IntentParam_User1 = "IntentParam_User1";
	public static final String IntentParam_User2 = "IntentParam_User2";

	public final static int RequestCode_QRCode = 0x0001;
	public final static int ResultCode_QRCode_Success = 0x0001;

	public final static int RequestCode_Normal = 0x0001;
	public final static int ResultCode_Normal_Success = 0x0001;
	public final static int ResultCode_Normal_Failure = 0x0001;

	public static final String Const_Serializable_Key = "com.tutor.objecttran.ser";
	public final static String Const_Cache_Image_Path = Environment
			.getExternalStorageDirectory() + "/download/image/";

	public static final int System_ResourceId_NONE = -1;
	public static final String System_String_Empty = "";

	public static final String[][] Const_Mime_MapTable = {
			// {后缀名， MIME类型}
			{ ".3gp", "video/3gpp" },
			{ ".apk", "application/vnd.android.package-archive" },
			{ ".asf", "video/x-ms-asf" },
			{ ".avi", "video/x-msvideo" },
			{ ".bin", "application/octet-stream" },
			{ ".bmp", "image/bmp" },
			{ ".c", "text/plain" },
			{ ".class", "application/octet-stream" },
			{ ".conf", "text/plain" },
			{ ".cpp", "text/plain" },
			{ ".doc", "application/msword" },
			{ ".docx",
					"application/vnd.openxmlformats-officedocument.wordprocessingml.document" },
			{ ".xls", "application/vnd.ms-excel" },
			{ ".xlsx",
					"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" },
			{ ".exe", "application/octet-stream" },
			{ ".gif", "image/gif" },
			{ ".gtar", "application/x-gtar" },
			{ ".gz", "application/x-gzip" },
			{ ".h", "text/plain" },
			{ ".htm", "text/html" },
			{ ".html", "text/html" },
			{ ".jar", "application/java-archive" },
			{ ".java", "text/plain" },
			{ ".jpeg", "image/jpeg" },
			{ ".jpg", "image/jpeg" },
			{ ".js", "application/x-javascript" },
			{ ".log", "text/plain" },
			{ ".m3u", "audio/x-mpegurl" },
			{ ".m4a", "audio/mp4a-latm" },
			{ ".m4b", "audio/mp4a-latm" },
			{ ".m4p", "audio/mp4a-latm" },
			{ ".m4u", "video/vnd.mpegurl" },
			{ ".m4v", "video/x-m4v" },
			{ ".mov", "video/quicktime" },
			{ ".mp2", "audio/x-mpeg" },
			{ ".mp3", "audio/x-mpeg" },
			{ ".mp4", "video/mp4" },
			{ ".mpc", "application/vnd.mpohun.certificate" },
			{ ".mpe", "video/mpeg" },
			{ ".mpeg", "video/mpeg" },
			{ ".mpg", "video/mpeg" },
			{ ".mpg4", "video/mp4" },
			{ ".mpga", "audio/mpeg" },
			{ ".msg", "application/vnd.ms-outlook" },
			{ ".ogg", "audio/ogg" },
			{ ".pdf", "application/pdf" },
			{ ".png", "image/png" },
			{ ".pps", "application/vnd.ms-powerpoint" },
			{ ".ppt", "application/vnd.ms-powerpoint" },
			{ ".pptx",
					"application/vnd.openxmlformats-officedocument.presentationml.presentation" },
			{ ".prop", "text/plain" }, { ".rc", "text/plain" },
			{ ".rmvb", "audio/x-pn-realaudio" }, { ".rtf", "application/rtf" },
			{ ".sh", "text/plain" }, { ".tar", "application/x-tar" },
			{ ".tgz", "application/x-compressed" }, { ".txt", "text/plain" },
			{ ".wav", "audio/x-wav" }, { ".wma", "audio/x-ms-wma" },
			{ ".wmv", "audio/x-ms-wmv" },
			{ ".wps", "application/vnd.ms-works" }, { ".xml", "text/plain" },
			{ ".z", "application/x-compress" },
			{ ".zip", "application/x-zip-compressed" }, { "", "*/*" } };

}
